AS.open_screen(512, 512)

#GL.Enable(GL::TEXTURE_RECTANGLE_EXT)
#GL.Enable(GL::BLEND)
#GL.BlendFunc(GL::ONE, GL::ONE)

font = AS::Font.open(AS::LIB_DIR + '/extras/font/bitstream')

AS.clear_screen
GL.Translate(10, 150, 0)
#GL.Scale(0.25, 0.25, 0)

GL.Translate(0, 300, 0)
str = "This is a sweet message?\nYou bet it is!!! moof = (34/7)*45"

AS::Scene::BlendNode.new(nil, GL::ONE, GL::ONE, AS::Scene::TextNode.new(font, str)).render

AS.print_gl_errors

AS.swap_buffers
AS::Event.wait_for_any_key
